Functions for mean value calculation. More...
Go to the source code of this file.
Functions | |
| int | mean_value (int *p, int size) |
| Given an 'array' of integers, this function calculates the mean value. More... | |
Functions for mean value calculation.
| int mean_value | ( | int * | p, |
| int | size | ||
| ) |
Given an 'array' of integers, this function calculates the mean value.
| int | *p - 'array' with integers to calc mean from |
| int | size - size of 'array' |
| int | *mean_value - a pointer to an integer where the function will store the mean value. |
Error code. 0 - on success. return 0 on success
1.8.6